/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.clbs.ex.springgwt.server.mapper;

import com.clbs.ex.springgwt.client.model.Issue;
import com.clbs.ex.springgwt.server.extractor.IssueExtractor;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;


/**
 *
 * @author peerawat.poombua
 */
public class IssueMapper implements RowMapper {

    public Issue mapRow(ResultSet rs, int rowNum) throws SQLException {
        IssueExtractor issueExtractor = new IssueExtractor();
        return issueExtractor.extractData(rs);
    }
}
